<template>
	<view>
		<!-- 首页	 -->首页
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {
		},
		computed: {
			//获取用户信息
			userInfo() {
				return this.$store.getters['userinfo']
			}
		},
		onLoad() {
			this.$mHelper.to('',true)
			this.$mHelper.toast('gfhdjghdfjkg','success')
			// this.getList();
		},
		methods: {
			getList(){
				this.$http.post('app/auth/loginByMobile',{avatarUrl:'123'},false).then(res=>{
					if(res.code==200){
						//
						this.$store.commit('login',{token:re.data.token,userinfo:res.data.data})
					}else{
						
					}
				})
			},
		} 
	}
</script>

<style>

</style>
